package com.movitech.mobile.cz.base.sys.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.modules.controller.RestReturnResult;
import com.movitech.mobile.cz.base.sys.bizvo.ArticleRequestVO;
import com.movitech.mobile.cz.base.sys.entity.SArticle;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 文章 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
public interface SArticleService extends IService<SArticle> {
	/**
	 * 根据articleType获取注册须知
	 * @param articleType
	 * @return
	 */
	public RestReturnResult<Object> getSArticleByType(Integer articleType);

    /**
     * 文章新增/修改
     * @param articleRequestVO
     * @return
     */
	public RestReturnResult<Object> saveOrUpdateArticle(ArticleRequestVO articleRequestVO);

	/**
	 * 文章删除
	 * @param articleRequestVO
	 * @return
	 */
	public RestReturnResult<Object> updateArticleForDel(ArticleRequestVO articleRequestVO);


	public RestReturnResult<Object> getHelpCenter(ArticleRequestVO articleRequestVO) throws Exception;
}
